-- CALC_SKY_MONSTER_FIGHT_ABILITY
-- 计算天空之城战斗怪物的战力

-- @param event_id          探索事件编号
-- @param explore_level     探索等级
-- @param ability_fix       战力修正系数
return function(event_id, explore_level, ability_fix)
    if not ability_fix then
        ability_fix = 100;
    end

    local n = explore_level;
    local ability;
    if n < 200 then
        ability = math.modf(n * n * n * 0.02 + n * n * 2 + n * 300 + 15000);
        ability = math.modf(ability * ability_fix * 0.01);
    elseif n < 400 then
        ability = math.modf(n * n * n * 0.01 + n * n * 4 + n * 375);
        ability = math.modf(ability * ability_fix * 0.01);
    else
        ability = n * n * 8 + n * 375;
        ability = math.modf(ability * ability_fix * 0.01);
    end

    return ability;
end